Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileInfoType: increase line length allowed #2389

Merged

Conversation

andrew-platt
Copy link
Collaborator

Ready to merge

Feature or improvement description
The FileInfoType used to store input files read into memory has a line length limit of 1024 characters. With the ability to add many input fields in some input file tables -- such as when HydroDyn when 14+ floating bodies are specified. Increasing this to 8192 characters to future proof a little. We may still hit limits with this again later, but perhaps we can migrate to a different input file format before then (wishful thinking I know).

Related issue, if one exists
In trying to diagnose an issue brought up on the forum, we initially thought this might be the issue (apparently it isn't in that particular case). https://forums.nrel.gov/t/hydrodyn-nbody-maximum-limit/7418

Impacted areas of the software
All modules using the FileInfoType parsing.

Tests
No tests are affected.

The old line length was 1024 characters. Increased this to 8192 -- May be need in HD if a large number of floating bodies are specified
@andrew-platt andrew-platt merged commit d6e3148 into OpenFAST:rc-3.5.4 Aug 23, 2024
19 checks passed
@andrew-platt andrew-platt deleted the f/WideLinesFileInfoType branch August 29, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants